inotifywait -m -r -e modify,create,delete,move --exclude 'node_modules' /workspaces/project | while read -r path action file; do
    echo "Detected $action on $file in $path"
    rsync -a --exclude=node_modules /workspaces/project/ /workspaces/app/
done